﻿using System;
using System.Collections.Generic;

namespace Service
{
    public class RestFull
    {
        public int Code { get; set; }

        public dynamic Data { get; set; }

        public string Message { get; set; }
    }

    public class RestFull<T>
    {
        public int Code { get; set; }

        public string Message { get; set; }
        public List<T> Data { get; set; }

        public int PageSize { get; set; }

        public int TotalCount { get; set; }
    }
}
